import React, { Suspense } from 'react'
import WrapperRouter from '@/router/index.jsx'
import Loading from '@/components/loading/Loading.jsx'
import { ConfigProvider } from 'antd'
import zhCN from 'antd/locale/zh_CN'

const App = () => {
  return (
    <ConfigProvider componentSize={'large'} locale={zhCN}>
      <Suspense fallback={<Loading />}>
        <WrapperRouter />
      </Suspense>
    </ConfigProvider>
  )
}
export default App
